package asteroids.model.programs.Expression;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public class GetXMethod extends EntityMethodExpression {

	public GetXMethod(int line, int column, Expression e) {
		super(line, column,e);
		
	}

	@Override
	public double getValue() {
		return (getEntityExpression()).getEntity().getXCoordinate();
	}

}
